<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>评价管理</title>

		<link href="/static/user/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="/static/user/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="/static/user/css/personal.css" rel="stylesheet" type="text/css">
		<link href="/static/user/css/cmstyle.css" rel="stylesheet" type="text/css">

		<script src="/static/user/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
		<script src="/static/user/AmazeUI-2.4.2/assets/js/amazeui.js"></script>

	</head>

	<body>
		<!--头 -->
		<header>
			<article>
				<div class="mt-logo">
					<!--顶部导航条 -->
					<div class="am-container header">
						<ul class="message-r">
							<div class="topMessage home">
								<div class="menu-hd"><a href="/" target="_top" class="h">商城首页</a></div>
							</div>
							<div class="topMessage my-shangcheng">
								<div class="menu-hd MyShangcheng"><a href="/person" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
							</div>
							<div class="topMessage mini-cart">
								<div class="menu-hd"><a id="mc-menu-hd" href="#" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
							</div>
							<div class="topMessage favorite">
								<div class="menu-hd"><a href="/user/user/logout" target="_top"><i class="am-icon-power-off am-icon-fw"></i><span>退出</span></a></div>
							</div>
							</ul>
						</div>

						<!--悬浮搜索框-->

						<div class="nav white">
							<div class="logoBig">
								<a href="/"><img src="/static/user/images/guangonglogo.jpg"/></a>
							</div>

							<div class="search-bar pr">
								<a name="index_none_header_sysc" href="#"></a>
								<form action="/user/index/search" method="GET">
									<input id="searchInput" name="name" type="text" placeholder="搜索" autocomplete="off">
									<input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">
								</form>
							</div>
						</div>

						<div class="clear"></div>
					</div>
				</div>
			</article>
		</header>

			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-comment">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">评价管理</strong> / <small>Manage&nbsp;Comment</small></div>
						</div>
						<hr/>

						<div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

							<ul class="am-avg-sm-2 am-tabs-nav am-nav am-nav-tabs">
								<li class="am-active"><a href="#tab1">已经评价</a></li>
								<li><a href="#tab2">暂未评价</a></li>

							</ul>

							<div class="am-tabs-bd">
								<div class="am-tab-panel am-fade am-in am-active" id="tab1">

									<div class="comment-main">
										<div class="comment-list">
										{empty name='comment_Y'}
											暂无评价
										{else}
											{volist name='comment_Y' id='obj'}
												<ul class="item-list">
														<div class="comment-top">
																<div class="th th-price">
																	<td class="td-inner">评价</td>
																</div>
																<div class="th th-item">
																	<td class="td-inner">商品</td>
																</div>													
														</div>
														<li class="td td-item">
															<div class="item-pic">
																<a href="/user/index/getgoodsdetail?id={$obj.goods.id}" class="J_MakePoint">
																	<img src="/static/admin/uploads/{$obj.goods.thumb}" class="itempic">
																</a>
															</div>
														</li>

														<li class="td td-comment">
															<div class="item-title">
																
																<div class="item-name">
																	<a href="/user/index/getgoodsdetail?id={$obj.goods.id}">
																		<p class="item-basic-info">{$obj.goods.goods_name}</p>
																	</a>
																</div>

															</div>
															<div class="item-comment">
																	{$obj.content}
															</div>

															<div class="item-info">
																<div>
																	<p class="info-time">{$obj.date}发表评论</p>
																</div>
															</div>
														</li>
												</ul>
											
											{/volist}
										{/empty}
										</div>
									</div>

								</div>
								<div class="am-tab-panel am-fade" id="tab2">
									
									<div class="comment-main">
										<div class="comment-list">
										{empty name='comment_Y'}
											暂无评价
											{else}
												{volist name='comment_N' id='obj'}
												<ul class="item-list">
														<div class="comment-top">
																<div class="th th-price">
																	<td class="td-inner">评价</td>
																</div>
																<div class="th th-item">
																	<td class="td-inner">商品</td>
																</div>													
														</div>
														<li class="td td-item">
															<div class="item-pic">
																<a href="/user/index/getgoodsdetail?id={$obj.goods.id}" class="J_MakePoint">
																	<img src="/static/admin/uploads/{$obj.goods.thumb}" class="itempic">
																</a>
															</div>
														</li>

														<li class="td td-comment">
															<div class="item-title">
																
																<div class="item-name">
																	<a href="/user/index/getgoodsdetail?id={$obj.goods.id}">
																		<p class="item-basic-info">{$obj.goods.goods_name}</p>
																	</a>
																</div>

															</div>
															<div class="item-comment">
																请移步到商品详情页给出评价。
															</div>

															<div class="item-info">
																<div>
																	<p class="info-time">{$obj.date}购买</p>
																</div>
															</div>
														</li>
												</ul>
											{/volist}
										{/empty}
										</div>
									</div>									
									
								</div>
							</div>
						</div>

					</div>

				</div>
				<!--底部-->
				<div class="footer">
					<div class="footer-hd">
						<p>
							<a href="/">商城首页</a>
							<b>|</b>
							<a href="https://www.alipay.com/">支付宝</a>
							<b>|</b>
							<a href="https://www.kuaidi100.com/?from=openv">快递查询</a>
						</p>
					</div>
				</div>
			</div>

			<aside class="menu">
				<ul>
					<li class="person">
						<a href="/person">个人中心</a>
					</li>
					<li class="person">
						<a>个人资料</a>
						<ul>
							<li> <a href="/information">个人信息</a></li>
							<li> <a href="/safety">安全设置</a></li>
							<li> <a href="/address">收货地址</a></li>
						</ul>
					</li>
					<li class="person">
						<a>我的交易</a>
						<ul>
							<li><a href="/order?act1=1">订单管理</a></li>
						</ul>
					</li>


					<li class="person">
						<a>我的小窝</a>
						<ul>
							<li class="active"> <a href="/comment">评价</a></li>

						</ul>
					</li>

				</ul>

			</aside>
		</div>

	</body>

</html>